﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domaine.Core;
using Domaine.Entity;

namespace Domaine.Contracts
{
    public interface IMemberShipRepository
        : IRepository<Membership>
    {
        IEnumerable<Membership> GetFilteredFullElements(System.Linq.Expressions.Expression<Func<Membership, bool>> filter);
        IEnumerable<Membership> GetPagedFullElements (int pageIndex, int pageCount);
        Membership GetFullElemnt(Guid id);
    }
}
